home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / VBSamples / Direct3D / ScatterGraph / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  2.7 KB  |  82 lines

  1. //-----------------------------------------------------------------------------
  2. // 
  3. // Sample Name: ScatterGraph Sample
  4. // 
  5. // Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
  6. // 
  7. //-----------------------------------------------------------------------------
  8.  
  9.  
  10. Description
  11. ===========
  12. The ScatterGraph sample describes how one might use Direct3D for graphic visualization.
  13. It makes heavy use of the RenderToSurface features of D3DX to render text and bitmaps
  14. dynamically.
  15.  
  16.   
  17. Path
  18. ====
  19.   Source: DXSDK\Samples\Multimedia\VBSamples\Direct3D\ScatterGraph
  20.  
  21.   Executable: DXSDK\Samples\Multimedia\VBSamples\Direct3D\Bin
  22.  
  23.  
  24. User's Guide
  25. ============
  26.   right click to bring up a pop up menu for the following options
  27.  
  28.     Load Data From File           from this menu you can load new data from a .csv 
  29.                                   (comma delimeted file) such a file can be exported
  30.                                   from excel or any spreadsheet package.
  31.   
  32.     Reset Orientation             reset the viewpoint to a know state
  33.  
  34.     Show Connecting Lines         if the order of the data is important 
  35.                                   this connects the data points
  36.   
  37.     Show Height Lines             makes it easier to see the Y value in comparison 
  38.                                   to other values
  39.  
  40.     Show Foot lines               makes it easier to see the X Z relation ship
  41.  
  42.     Show Base plane          plane where y=0
  43.  
  44.     Auto rotate              turn on and off rotation
  45.   
  46.     
  47.  
  48.   Any csv file to be loaded must be formated such that the first row is a header. 
  49.   The formating is as follows with [] indicating optional components:
  50.   Name, X Axis Name, Y Axis Name, Z Axis Name, [Size Name], [Color Name]
  51.   Entries for Axis and Size must be numeric. those for color must fit the format
  52.   &HFF102030, where 10 20 30 is the red,green and blue component.
  53.  
  54.   see sampledata.csv in Mssd\Samples\Multimedia\VBSamples\Media for an example
  55.  
  56.   Holding the left mouse button and dragging will rotate the graph.
  57.  
  58.   Right Arrow  moves the camera right
  59.   Left Arrow   moves the camera left
  60.   Up Arrow     moves the camera up
  61.   Down Arrow   moves the camera down
  62.   W            moves the camera forward
  63.   S            moves the camera backward
  64.   E            rotates the camera right
  65.   Q            rotates the camera left
  66.   A            rotates the camera up
  67.   Z            rotates the camera down
  68.  
  69.     
  70.         
  71.  
  72.  
  73. Programming Notes
  74. =================   
  75.    
  76.  
  77.    This sample makes use of common DirectX code (consisting of helper functions,
  78.    etc.) that is shared with other samples on the DirectX SDK. All common
  79.    classes and modules can be found in the following directory:
  80.       DXSDK\Samples\Multimedia\VBSamples\Common
  81.  
  82.